package posecco.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("register")
public interface RegistrationService extends RemoteService {
	User addUser(String login, String pwd, String pwdConfirm, String email,
			String firstName, String lastName) throws IllegalArgumentException;
	User updateUser(Long id, String login, String email,
			String firstName, String lastName) throws IllegalArgumentException;
	Boolean loginTaken(Long id, String login);
}
